//
//  Constant.h
//  SocretTest
//
//  Created by ellenpage on 12-11-22.
//  Copyright (c) 2012年 ellenpage. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <QuartzCore/QuartzCore.h>
#import "MBProgressHUD.h"
#import "PassValueClass.h"
#import <MessageUI/MessageUI.h>
#import "GetPhoneInfo.h"
#import "YouMengEvent.h"
#import "PromptView.h"
#import "MacroClass.h"

@interface Constant : NSObject


#pragma  mark - 宏定义

#define kIsIphone [[GetPhoneInfo getCurrentDevice] isEqualToString:@"iPhone"]

#define iP5 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)

#define isWebOk [[GetPhoneInfo getCurrentNetworkStatus] isEqualToString:@"no"]
#define isSokectOk   [PassValueClass sharedIntance].isConnectToSocket == YES
#define isLoginOk    [PassValueClass sharedIntance].isLogin == YES
#define isSignupOk   [[PassValueClass sharedIntance].isBindedStr isEqualToString:@"1"]

#define isAvaliableCityOk  [PassValueClass sharedIntance].isAvaliableCity == YES//是否是支持的城市

#define isTiYanMoShiOk [PassValueClass sharedIntance].isTiYanMoShi == YES

#define kRateUrl2(m_appleID) [NSString stringWithFormat:@"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%d",m_appleID]

#define kMYBUNDLE_NAME @"mapapi.bundle"
#define kMYBUNDLE_PATH [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent: kMYBUNDLE_NAME]
#define kMYBUNDLE [NSBundle bundleWithPath: kMYBUNDLE_PATH]

#define kWindow   [[UIApplication sharedApplication] keyWindow]

#pragma mark - Socret 登陆的参数

#define kProtocol @"PROTOCOL"

#define kVersionNo @"16"

#define kVer  @"VER"//版本号
#define kCmd  @"CMD"//命令
#define kIMSI @"IMSI"//IMSI号码

#define kDeviceID   @"DEVICEID"  //设备编号
#define kLongitude  @"LONGITUDE" //登录经度
#define kLatitude   @"LATITUDE"  //登录纬度
#define kChannellNo @"CHANNELNO" //渠道号码
#define kAreaCode   @"AREACODE"  //行政区划
#define kUserType   @"USERTYPE"  //用户类型
#define kTimeStamps @"TIMESTAMPS"//时间戳
#define kTime       @"TIME"//地址时间

#define kLastTimeXml @"//LASTTIME"
#define kLastTime    @"LASTTIME"

#define kSignUpNo   @"051085369098" //短信网关号码

#define kTelephone  @"TELEPHONENO" //手机号码---可空
#define kBelongAera @"BELONGAREA"//归属地-----可空
#define kOperator   @"OPERATOR"  //运营商-----可空

#define kResult      @"RESULT"     //返回结果
#define kLimitedArea @"LIMITEDAREA"//限制区域
#define kExtraInfo   @"EXTRA"      //附加信息

#define kNick      @"NICK"     //昵称---可空
#define kSex       @"SEX"      //性别---可空
#define kBirthDate @"BIRTHDATE"//出生年月-可空
#define kArrange   @"ARRANGE  "//范围
#define kIsBinded  @"ISBINDED" //是否绑定(0:未绑定,1:绑定)
#define kVip       @"VIP"      //是否认证用户(0:未认证,1:认证)

#define kMapLink      @"MAPLINK"     //地图连接头
#define kDownloadLink @"DOWNLOADLINK"//下载地
#define kCallList     @"CALLLIST"    //叫车电话--可空

#define kCurLongitude @"CURLONGITUDE"//当前经度
#define kCurLatitude  @"CURLATITUDE" //当前纬度
#define kDesLongitude @"DESLONGITUDE"//目的地经度--可空
#define kDesLatitude  @"DESLATITUDE" //目的地纬度--可空
#define kDistance     @"DISTANCE"    //距离-------可空
#define kAreaCode     @"AREACODE"    //行政划分

#define kRequestID    @"REQUESTID"   //打车请求队列
#define kDriverInfo   @"DRIVERINFO"  //司机信息
#define kColor        @"COLOR"       //颜色
#define kHPHM         @"HPHM"        //车牌号码

#define kTraffic      @"TRAFFIC"     //流量
#define kOptions      @"OPTIONS"     //用户意见
#define kCost         @"COST"        //计算后价格--可空

#define kCLLX            @"CLLX"           //车辆类型
#define kDeparture       @"DEPARTURE"      //出发地
#define kDestination     @"DESTINATION"    //目的地
#define kAppointmentTime @"APPOINTMENTTIME"//预约时间

#define kPublishTime     @"PUBLISHTIME"    //发布时间
#define kThirdDrivingID  @"THIRDDRIVINGID" //代驾序列

#define kDriverName @"DRIVERNAME"      //司机姓名
#define kDiverPhoen @"DRIVERTELEPHONE" //司机电话
#define kStatus     @"STATUS"          //当前状态
#define kCarStatus  @"CARSTATUS"       //当前状态

#define kStatus_Driver   @"STATUS_Driver"   //司机状态

#define kDriverIMSI @"DRIVERIMSI"      //司机IMSI号码

#define kUserIMSI   @"USERIMSI"        //用户IMSI号码

#define kPageIndex      @"PAGEINDEX"       //页码(从1开始)
#define kEvaluateStatus @"EVALUATESTATUS"  //评价状态（0未评，1评价）

#define kEvaluate  @"EVALUATE"
#define kEvaluateContent @"EVALUATECONTENT"

#define kRequsetList    @"REQUESTLIST"   //订单对象组
#define kRequestItem    @"REQUESTITEM"   //订单
#define kRequestID      @"REQUESTID"     //订单编号
#define kRequestType    @"REQUESTTYPE"   //订单类型（1、打车 2、代驾 3、预约）
#define kPostTime       @"POSTTIME"      //发布时间
#define kUserEvaluate   @"USEREVALUATE"  //评价状态（0未评、1好评、2差评）
#define kDriverEvaluate @"DRIVEREVALUATE"//评价状态（0未评、1好评、2差评）
#define kUserEvaluation   @"USEREVALUATECONTENT"  //用户评语
#define kDriverEvaluation @"DRIVEREVALUATECONTENT"//司机评语
#define kAppealed       @"APPEALED"     //申诉状态

#define kAppealContent  @"APPEALCONTENT"//评价内容
#define kTHISCASTM      @"THISCASTM"    //流量

#define kCredit         @"CREDIT"       //信誉度
#define kGoodEvaluate   @"GOODEVALUATE" //好评数
#define kBadEvaluate    @"BADEVALUATE"  //差评数

#define kIsTianZe @"isTianZe"
#define kSUID     @"suid"

#define kCustomer @"CUSTOMER" //被接单的用户
#define kPreTime  @"PRETIME"  //播放时间

#define kOldCustomer     @"OldCustomer"    //客户资料
#define kOldCustomerList @"OldCustomerList"//客户资料列表

#pragma mark - SocketObject - Socket代理函数的参数

//#define kSocketIP @"61.155.41.145"   //无锡

//@"221.226.150.196" //测试服务器3

//@"221.226.150.195" //测试服务器1

#define kSocketPort @"8500"

#define kUMENG_APPKEY @"50bd504a527015514e000052"

#pragma mark - BaiduMapLib - 百度地图lib的参数

#define kBaiduMapKey @"994c547e8d5a6f5561493d50b1da49af"//百度key

#pragma mark - Communication Protocol - 通信协议的参数
 
#define kUserLogIn          1001//用户登录
#define kUserLogInResponse  1002

#define kUserInfo           1003//获取个人信息
#define kUserInfoResponse   1004

#define kPublicInfo         1005//获取公共信息
#define kPublicResponse     1006

#define kParameters         3003//获取参数
#define kParametersResponse 3004

#define kCallTaxiRequest    1007//打车请求
#define kCallTaxiReply      1008//打车回复

 //#define kCallTaxiResponse   1009//打车应答

#define kUserShare          1010//用户分享

#define kUserPulseRecord    1011//心跳记录
#define kUserPulseResponse  1012//心跳应答

#define kUserCancelTaxi         1013//用户取消打车
#define kUserCancelTaxiResponse 1014

#define kNearDrivers         3001//周围司机
#define kNearDriversResponse 3002//周围司机应答

#define kUserSetting         1015//用户设置
#define kUserSettingResponse 1016

#define kUserLogOut          1017//用户退出
#define kUserLogOutResponse  1018

#define kUserLocation                   1019//用户位置上报
#define kUserLocationResopnse_NoAnswer  1020//用户位置上报--正常返回-用户等待

#define kUserLocationResopnse_GetDriverAnswer 1009//用户位置上报--正常返回-有司机接单
#define kUserLocationResopnse_DriverCancel    1026//用户位置上报--正常返回-司机取消

#define kUserStatus 1021

//#define kDriverLocation      1021//得到司机位置/确认上车

#define kUserFeedback        1023//用户意见反馈

#define kTaxiPrice           1024//价格估算
#define kTaxiPriceResponse   1024

#define kDesignatedDriveInfo            1027//发布代驾信息
#define kDesignatedDriveInfoResponse    1028

#define kDesignatedDriveCheck           1029//查看代驾信息
#define kDesignatedDriveCheckResponse   1030

#define kDesignatedDriveHistory         1031//历史代驾信息
#define kDesignatedDriveHistoryResponse 1032

#define kDesignatedDriveCancel          1033//取消代驾
#define kDesignatedDriveCancelResponse  1034

#define kDesignatedDriveDelete         1051//删除历史代驾
#define kDesignatedDriveDeleteResponse 1052

#define kTaxiAppointment                 1035//车辆预约
#define kTaxiAppointmentResponse         1036

#define kTaxiAppointmentCheck            1037//车辆预约查看
#define kTaxiAppointmentCheckResponse    1038

#define kTaxiAppointmentDelete           1039//删除车辆预约
#define kTaxiAppointmentDeleteResponse   1040

#define kTaxiAppointmentCancel           1041//取消车辆预约
#define kTaxiAppointmentCancelResponse   1042

#define kTaxiAppointmentHistory          1043//查看预约历史记录
#define kTaxiAppointmentHistoryResponse  1044


#define kSingleDriverLocation         1045//获取单个司机位置
#define kSingleDriverLocationResponse 1046

#define kBillStatus             1047//获取订单状态
#define kBillStatusResponse     1048

#define kBillFinish             1049//用户结单
#define kBillFinishReponse      1050

#define kUserComplaint          1053//用户投诉
#define kUserComplaintResponse  1054

#define kBillUnevaluated        1055//未评价订单
#define kBillUnevaluatedReponse 1056

#define kBillEvaluated          1057//已经评价订单
#define kBillEvaluatedReponse   1058

#define kBillEvaluation         1059//用户评价
#define kBillEvaluationResponse 1060

#define kUserComplain           1061//用户申诉
#define kUserComplainResponse   1062

#pragma mark --------New Interface ------------------------------------

#define kAddressListTimeStamp         1078//地址簿时间更新
#define kAddressListTimeStampResponse 1079

#define kAddressList               1065//地址簿
#define kAddressListResponse       1066
#define kAddressListUpdate         1067//上传地址簿
#define kAddressListUpdateResponse 1068

#define kQuaryLottary         1072//查询抽奖列表
#define kQuaryLottaryResponse 1073

#define kStartLottary         1074//开始抽奖
#define kStartLottaryResponse 1075

#define kConfirmLottary         1076//确认抽奖
#define kConfirmLottaryResponse 1077

#define kSysInfo         1070//系统消息
#define kSysInfoResponse 1071

#define kPilotCity         1063//体验城市查询
#define kPilotCityResponse 1064

#define kLastBill         1047
#define kLastBillResponse 1048

#define kUploadTianZeUid         1093
#define kUploadTianZeUidResponse 1094

#define kTianZeUid         1095
#define kTianZeUidResponse 1096

#define kTianZeUidStrXml @"//TID"
#define kTianZeUidStr    @"TID"

#define kUploadZhaoCheBaoOrder         1097
#define kUploadZhaoCheBaoOrderResponse 1098

#pragma mark - Xml - Xml参数

#define kProtocolXml @"PROTOCOL"    //开始解析的标志
#define kVerXml      @"//VER"         //版本号
#define kCmdXml      @"//CMD"         //命令
#define kIMSIXml     @"//IMSI"        //IMSI号码

#define kDeviceIDXml   @"//DEVICEID"  //设备编号
#define kLongitudeXml  @"//LONGITUDE" //登录经度
#define kLatitudeXml   @"//LATITUDE"  //登录纬度
#define kChannellNoXml @"//CHANNELNO" //渠道号码
#define kAreaCodeXml   @"//AREACODE"  //行政区划
#define kUserTypeXml   @"//USERTYPE"  //用户类型
#define kTimeStampsXml @"//TIMESTAMPS"//时间戳
#define kTelephoneXml  @"//TELEPHONENO" //手机号码---可空
#define kBelongAeraXml @"//BELONGAREA"  //归属地-----可空
#define kOperatorXml   @"//OPERATOR"    //运营商-----可空

#define kResultXml      @"//RESULT"     //返回结果
#define kLimitedAreaXml @"//LIMITEDAREA"//限制区域
#define kExtraInfoXml   @"//EXTRA"      //附加信息

#define kUpdate    @"UPDATE"
#define kUpdateXml @"//UPDATE"

#define kNickXml      @"//NICK"     //昵称---可空
#define kSexXml       @"//SEX"      //性别---可空
#define kBirthDateXml @"//BIRTHDATE"//出生年月-可空
#define kArrangeXml   @"//ARRANGE  "//范围
#define kIsBindedXml  @"//ISBINDED" //是否绑定(0:未绑定,1:绑定)
#define kVipXml       @"//VIP"      //是否认证用户(0:未认证,1:认证)

#define kMapLinkXml      @"//MAPLINK"     //地图连接头
#define kDownloadLinkXml @"//DOWNLOADLINK"//下载地
#define kCallListXml     @"//CALLLIST"    //叫车电话--可空

#define kCall    @"CALL"
#define kCallXml @"//CALL"

#define kTimeStepXml        @"//TIMES_STEP"      //30s心跳
#define kTimeUpdateXml      @"//TIMES_UPDATE"    //10s数据上报
#define kTimeCaculateXml    @"//CACULATE"        //30秒位移上报
#define kDistanceArrangeXml @"//DISTANCE_ARRANGE"//2000米位移自动上报

#define kDriverListXml @"//DRIVERLIST"//司机列表
#define kDriverXml     @"//DRIVER"//司机

#define kTimeDriverListXml     @"//TIMES_DRIVINGLIST"      //5分钟获取代驾列表
#define kTimeAppointListXml    @"//TIMES_APPOINTLIST"      //5分钟获取预约打车列表
#define kTimeNoAnswerXml       @"//TIMES_NOANSWERNOTIFY"   //10分钟无应答时间间隔
#define kTimeSuccessOnCarXml   @"//TIMES_CHECKSUCCESSONCAR"//1分钟检查是否成功上车
#define kDistanceMovedOnCarXml @"//DISTANCE_MOVEONCAR"     //成功上车后2公里监测
#define kMsmNumberXml          @"//MESSAGEGATEWAY"         //短信接入号(051085369098)

#define kCurLongitudeXml @"//CURLONGITUDE"//当前经度
#define kCurLatitudeXml  @"//CURLATITUDE" //当前纬度
#define kDesLongitudeXml @"//DESLONGITUDE"//目的地经度--可空
#define kDesLatitudeXml  @"//DESLATITUDE" //目的地纬度--可空
#define kDistanceXml     @"//DISTANCE"    //距离-------可空
#define kAreaCodeXml     @"//AREACODE"    //行政划分

#define kRequestIDXml    @"//REQUESTID"   //打车请求队列---订单号
#define kDriverInfoXml   @"//DRIVERINFO"  //司机信息
#define kColorXml        @"//COLOR"       //颜色
#define kHPHMXml         @"//HPHM"        //车牌号码

#define kCarStatusXml    @"//CARSTATUS"   //当前状态

#define kTrafficXml      @"//TRAFFIC"     //流量

#define kOptionsXml      @"//OPTIONS"     //用户意见

#define kCostXml         @"//COST"        //计算后价格--可空

#define kCLLXXml            @"//CLLX"           //车辆类型
#define kDepartureXml       @"//DEPARTURE"      //出发地
#define kDestinationXml     @"//DESTINATION"    //目的地
#define kAppointmentTimeXml @"//APPOINTMENTTIME"//预约时间

#define kPublishTimeXml     @"//PUBLISHTIME"    //发布时间

#define kAppointmentIDXml   @"//APPOINTMENTID"//代驾序列

#define kThirdDrivingIDXml  @"//THIRDDRIVINGID" 

#define kDriverNameXml  @"//DRIVERNAME"      //司机姓名

#define kDriverPhoen    @"DRIVERTELEPHONE" //司机电话
#define kDriverPhoenXml @"//DRIVERTELEPHONE" //司机电话
#define kStatusXml      @"//STATUS"          //当前状态

//1038-预约代驾列表
#define kAppointmentListXml @"//APPOINTMENTLIST"//预约列表
#define kAppointmentList    @"APPOINTMENTLIST"//预约列表

#define kAppoint    @"APPOINTMENT"
#define kAppointXml @"//APPOINTMENT"

#define kThirdDrivingList    @"THIRDDRIVINGLIST"
#define kThirdDrivingListXml @"//THIRDDRIVINGLIST"

#define kThirdDriving    @"THIRDDRIVING"
#define kThirdDrivingXml @"//THIRDDRIVING"
//1038-预约代驾列表


#define kDriverIMSIXml @"//DRIVERIMSI"      //司机IMSI号码

#define kUserIMSIXml   @"//USERIMSI"        //用户IMSI号码
#define kPageIndexXml      @"//PAGEINDEX"       //页码(从1开始)
#define kEvaluateStatusXml @"//EVALUATESTATUS"  //评价状态（0未评，1评价）

#define kRequsetListXml    @"//REQUESTLIST"   //订单对象组
#define kRequestItemXml    @"//REQUESTITEM"   //订单
#define kRequestIDXml      @"//REQUESTID"     //订单编号
#define kRequestTypeXml    @"//REQUESTTYPE"   //订单类型（1、打车 2、代驾 3、预约）
#define kPostTimeXml       @"//POSTTIME"      //发布时间
#define kUserEvaluateXml   @"//USEREVALUATE"  //评价状态（0未评、1好评、2差评）
#define kDriverEvaluateXml @"//DRIVEREVALUATE"//评价状态（0未评、1好评、2差评）
#define kUserEvaluationXml   @"//USEREVALUATECONTENT"  //用户评语
#define kDriverEvaluationXml @"//DRIVEREVALUATECONTENT"//司机评语
#define kAppealedXml         @"//APPEALED"     //申诉状态

#define kAppealContentXml  @"//APPEALCONTENT"//评价内容
#define kTHISCASTMXml      @"//THISCASTM"    //流量

#define kCreditXml         @"//CREDIT"       //信誉度
#define kGoodEvaluateXml   @"//GOODEVALUATE" //好评数
#define kBadEvaluateXml    @"//BADEVALUATE"  //差评数

#define kCustomerXml @"//CUSTOMER" //被接单的用户
#define kPreTimeXml  @"//PRETIME"  //播放时间

#define kOldCustomerXml     @"//OldCustomer"    //客户资料
#define kOldCustomerListXml @"//OldCustomerList"//客户资料列表

#pragma mark --------New Interface ------------------------------------

#define kAddressKey    @"ADDRESS"
#define kAddressKeyXml @"//ADDRESS"

#define kAddressListKey @"ADDRESSLIST"
#define kAddressListXml @"//ADDRESSLIST"

#define kAddressName    @"NAME"
#define kAddressNameXml @"//NAME"

#define kPoiName       @"POINAME"
#define kPoiNameXml    @"//POINAME"

#define kTimeXml       @"//TIME"//地址时间

#define kScore    @"SCORE"//积分
#define kScoreXml @"//SCORE"

#define kRewordList    @"REWORDLIST"//奖品列表
#define kRewordListXml @"//REWORDLIST"

#define kReword    @"REWORD"//奖品
#define kRewordXml @"//REWORD"

#define kRewordIndex    @"INDEX"//奖品节点
#define kRewordIndexXml @"//INDEX"

#define kRewordName    @"NAME"//奖品名称
#define kRewordNameXml @"//NAME"

#define kRewordType    @"TYPE"//奖品类型
#define kRewordTypeXml @"//TYPE"

#define kRewordUrlXml @"//PICURL"
#define kRewordUrl    @"PICURL"

#define kRewordStage    @"STAGE"
#define kRewordStageXml @"//STAGE"

#define kPicVerXml @"//PICVER"
#define kPicVer    @"PICVER"

#define kRewordRuleDetailXml @"//RULEDETAIL"
#define kRewordRuleDetail    @"RULEDETAIL"

#define kRewordId    @"REWORDID"//抽奖id
#define kRewordIdXml @"//REWORDID"

#pragma mark - TaxiAppointment - 车辆预约

#define kAppointmentID   @"APPOINTMENTID"
#define kAppointmentDate @"appointmentDate"
#define kAppointmentHour @"appointmentHour"


#pragma mark - 1071 - 系统消息推送 -----------

#define kMsmListArray @"MsmListArray"
#define kMsmListDict  @"MsmListDict"

#define kMsmListXml @"//MESSAGELIST"
#define kMsmList    @"MESSAGELIST"

#define kMsmXml @"//MESSAGE"
#define kMsm    @"MESSAGE"

#define kMsmIdXml @"//ID"
#define kMsmId    @"ID"

#define kMsmTypeXml @"//TYPE"
#define kMsmType    @"TYPE"

#define kMsmTitleXml @"//TITLE"
#define kMsmTitle    @"TITLE"

#define kMsmContentXml @"//CONTENT"
#define kMsmContent    @"CONTENT"

#define kMessageBroadcast @"MESSAGEBROADCAST"
#define kMessageScore     @"MESSAGESCORE"

#define kMsmPublishTimeXml @"//PUBLISHTIME"
#define kMsmPublishTime    @"PUBLISHTIME"

#define kMsmOutTimeXml @"//OUTTIME"
#define kMsmOutTime    @"OUTTIME"

#define kMsmLogic    @"LOGIC"
#define kMsmLogicXml @"//LOGIC"


#pragma mark - 1063 - 体验城市列表 -----------

#define kCityList    @"CITYLIST"
#define kCityListxML @"//CITYLIST"

#define kCity    @"CITY"
#define kCityXml @"//CITY"

#define kName    @"NAME"
#define kNameXml @"//NAME"

#pragma mark - 1063 - 体验城市列表 -----------



#pragma mark - 1071 - 系统消息推送 -----------

#pragma mark - AlertView Tag - AlertViewTag值

#define kNewVerAlert 20
#define kSignUpAlert 21
#define kNoStartAddressAlert 22
#define kNoRouteAlert    23
#define kGetRouteAlert   24
#define kNoFeedBackAlert 25

#define kDailDriverAlert   26
#define kLocateDriverAlert 27

#define kVantageConfirmTag 28
#define kUserCancelAlert   29

#define kUserLogInAlert 30

#define kUserLottoryAgain 31

#define kUpdateAlert 32

#define kNoServiceAlert 33

#pragma mark - ActionSheet Tag - ActionSheet值

#define kActionSheet1 50
#define kActionSheet2 51

#pragma mark - DatePickerView Tag - DatePickerView值

#define kDatePicker 80
#define kTimePicker 81

#define kFirstTimeAlert 82

#define kJifenAlert 83

#define kOrderAlert   84
#define kTimeoutAlert 85

#define kNoCarAlert   86

#define kHideZhaoCheBaoAlert 87

#pragma mark - VantageVC Tag - 积分抽奖界面的Tag值

#define kVantageBtn1  100
#define kVantageBtn2  101
#define kVantageBtn3  102
#define kVantageBtn4  103
#define kVantageBtn5  104
#define kVantageBtn6  105
#define kVantageBtn7  106
#define kVantageBtn8  107
#define kVantageBtn9  108
#define kVantageBtn10 109
#define kVantageBtn11 110
#define kVantageBtn12 111
#define kVantageBtn13 112
#define kVantageBtn14 113
#define kVantageBtn15 114
#define kVantageBtn16 115

#pragma mark - AppointmentVC Tag - 预约界面的Tag值 

#pragma mark - Notification Tag - 系统通知的关键字

#define kIsFromAddressListView @"isFromAddressListView"//是否是来自地址簿的

#define kGetEndAddressNoti @"getEndAddressNoti"
#define kRemoveRequestView @"RemoveRequestViewNoti"

#define kGetEndAddressNoti_Addresslist @"getEndAddressNotiAddresslist"

#define kGetLottoryArrary  @"getLottoryArray"  //抽奖列表
#define kGetLottoryResult  @"getLottoryResult" //抽奖结果
#define kGetLottoryConfirm @"getLottortConfirm"//抽奖结果确认

#define kAppointmentNoti  @"appointmentNoti"//预约成功通知

#define kCancelAppointmentNoti   @"cancelAppointmentNoti"//取消打车/代驾通知
#define kCancelDesignedDriveNoti @"cancelDesignedDriveNoti"

#define kGetUnevaluatedBill @"getUnevaluatedBill"//得到未评价列表
#define kGetevaluatedBill   @"getevaluatedBill"  //得到已评价列表

#define kGetYuYueListNoti  @"getYuYueListNoti" //得到预约列表
#define kGetDaiJiaListNoti @"getDaiJiaListNoti"//得到代驾列表


//-----------打车请求流程的通知-------------

//1.取消打车(用户主动取消/超时取消)
#define kGetUserCancelNoti   @"getUserCancelNoti"  //用户取消打车

//2.司机接单了
#define kGetDriverOrderNoti  @"getDriverOrderNoti"     //司机接单

//3.司机取消订单
#define kGetDriverCancelOrderNoti @"getDriverCancelOrderNoti"//司机取消

#define kBillRestore @"billRestore"//订单恢复

#define kChangeTiYanCityNoti @"changeTiYanCityNoti"

//4.重新定位
#define kRelocation @"relocation"

//5.手动
#define kHandleLocation @"handleLocation"

#pragma mark - 3.0 新接口 -
#define kGetTradeIdNoti  @"getTradeIdNoti"
#define kGetDaCheDouNoti @"getDaCheDouNoti"

#pragma mark - Pure Keywords - 系统字典关键字

//地址簿
#define kMyAddressBook        @"MyAddressBook"
#define kAddressBookTimeStamp @"AddressBookTimeStamp"
#define kAddressBookArray     @"AddressBooklist"

//预约打车---预约代驾

#define kAppointmentDict         @"AppointmentDict"
#define kAppointmentArray        @"AppoimtmentArray"
#define kAppointmentArray_Daijia @"AppoimtmentArray_Daijia"

//更多 版本更新
#define kIsFromMoreView @"isFromMoreView"

//首次进入标志
#define kFirstTimeIn @"firstTimeIn"


//友盟统计
/* 
 1.打车次数
 2.发起注册的次数+手机号码
 3.积分模块的次数
 4.预约代驾模块的次数
 5.订单的次数
 6.成功打车的次数
 7.好评的次数
 
 
 8.接单呼叫
 9.代驾呼叫
 10.呼叫热线
 11.关闭语音
 */

#define kRequest_YouMeng   @"0001" //发起发车请求
#define kRequestOk_YouMeng @"0013" //打车请求成功

#define kLogin_YouMeng     @"0002" //注册请求
#define kLoginOk_YouMeng   @"0014" //注册成功

#define kCallDriverJieDan_YouMeng @"0003" //接单呼叫
#define kCallDriverYuYue_YouMeng  @"0005" //预约呼叫
#define kCallDriverDaiJia_YouMeng @"0006" //代驾呼叫

#define kCallDriverOnMap_YouMeng   @"0007" //呼叫空车司机
#define kCallTaxiLocalCity_YouMeng @"0008" //呼叫当地叫车热线
#define kCloseVoice_YouMeng        @"0009" //关闭语音

#define kJiFen_YouMeng   @"0010" //积分模块
#define kDaiJia_YouMeng  @"0011" //预约代驾模块
#define kPingJia_YouMeng @"0012" //评价模块

#define kOpenShareView    @"0015" //进入推荐页面
#define kOpenContractView @"0016" //打开通讯录
#define kSendMMS          @"0017" //分享短信

#pragma mark - 3.0 新增接口和相应的关键字

#define kRequetDaCheDou          1084  //请求打车豆
#define kRequetDaCheDouResponse  1085  

#define kRequestTradeList          1086  //请求交易列表
#define kRequestTradeListResponse  1087 

#define kIndexXml @"//INDEX"
#define kIndex   @"INDEX"

#define kCoinXml @"//COIN"
#define kCoin    @"COIN"

#define kTradeRuleListXml @"//RECHARGELIST"
#define KtradeRuleList    @"RECHARGELIST"

#define kEachTradeRuleXml @"//RECHARGE"
#define kEachTradeRule    @"RECHARGE"

#define kMoneyXml         @"//MONEY"
#define kMoney            @"MONEY"

#define kExtraCoinXml @"//EXTRACOIN"
#define kExtraCoin    @"EXTRACOIN"

#define kRequetTradeID             1088  //请求交易号
#define kRequetTradeIDResponse     1089  

#define kYueYuDingDanChange        1090  //通知乘客订单信息变化

#define kTradeIdXml @"//TRADENO"
#define kTradeId    @"TRADENO"

#define kUserUpLoadNum         1091
#define kUserUpLoadNumResponse 1092

#define kTelephoneList @"TELEPHONELIST"

#define kTelephoneNoXml @"//TELEPHONENO"
#define kTelephoneNo    @"TELEPHONENO"

//1007---------新增接口内容

#define kTypeXml @"//TYPE"//打车类型:0免费打车 1付费打车
#define kType    @"TYPE"

#define kCurNameXml @"//CURNAME"//当前名称
#define kCurName    @"CURNAME"

#define kDesNameXml @"//DESNAME"//当前名称
#define kDesName    @"DESNAME"//当前名称

//3003---------新增接口内容

#define kNotifyUrlXml @"//USER_RECHARGE_NOTIFY_URL"//乘客充值url
#define kNotifyUrl    @"USER_RECHARGE_NOTIFY_URL"

#define kMessageGatewayXml @"//MESSAGEGATEWAY" //短信网关号码
#define kMessageGateway    @"MESSAGEGATEWAY"   //短信网关号码

//#define kGetDaCheDouRecordXml @"//USER_GET_COIN_RECORDS_URL"//乘客充值记录
//#define kGetDaCheDouRecord    @"USER_GET_COIN_RECORDS_URL"
//
//#define kCostDaCheDouRecordXml @"//USER_COST_COIN_RECORDS_URL"//乘客消耗记录
//#define kCostDaCheDouRecord    @"USER_COST_COIN_RECORDS_URL"

#define kGetAndCostListXml @"//TRADE_COIN_RECORDS_URL"
#define kGetAndCostList    @"TRADE_COIN_RECORDS_URL"

#define kActivityTypeXml @"//ACTIVITYTYPE"
#define kActivityType    @"ACTIVITYTYPE"

#pragma mark - 3.0 新增关键字

#define kDaCheDou @"daCheDou"

#define kCheckNoXml  @"//CHECKNO"
#define kCheckNo     @"CHECKNO"

#define kIsFromMainView @"isFromMainView"

//1097--------- 天泽司机接单记录

#define kTidXml @"//TID" //天泽用户ID
#define kTid    @"TID"

#define kPhoneXml @"//PHONE"
#define kPhone    @"PHONE"
 
#define kFromXml @"//FROM"
#define kFrom    @"FROM"

#define kToXml @"//TO"
#define kTo    @"TO"

#define kFromLatXml @"//FROMLAT"
#define kFromLat    @"FROMLAT"

#define kFromLonXml @"//FROMLON"
#define kFromLon    @"FROMLON"

#define kToLatXml @"//TOLAT"
#define kToLat    @"TOLAT"

#define kToLonXml @"//TOLON"
#define kToLon    @"TOLON"

#define kCarIdXml @"//CARID"
#define kCarId    @"CARID"

#define kCarNoXml @"//CARNUMBER"
#define kCarNo    @"CARNUMBER"

#define kCarTypeXml  @"//CARTYPE"
#define kCarType     @"CARTYPE"

#define kCompanyXml @"//COMPANY"
#define kCompany    @"COMPANY"

#define kUUID @"NewUUID"

@end

